package com.schoolinfo.dao;

import java.util.List;

import com.schoolinfo.model.SecondClass;

public interface SecondClassDAO {

	public abstract void save(SecondClass transientInstance);

	public abstract void delete(SecondClass persistentInstance);

	public abstract SecondClass findById(java.lang.Integer id);

	public abstract List<SecondClass> findByExample(SecondClass instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List<SecondClass> findByName(Object name);

	public abstract List findAll();

	public abstract SecondClass merge(SecondClass detachedInstance);

	public abstract void attachDirty(SecondClass instance);

	public abstract void attachClean(SecondClass instance);
	
	public abstract List findByFirstId(int firstId);

}